.dashboard-page {
  .dashboard-header {
    text-align: center;
    margin-bottom: 32px;

    h1 {
      font-size: 32px;
      font-weight: 700;
      color: #333;
      margin-bottom: 8px;
    }

    p {
      color: #666;
      font-size: 16px;
    }
  }

  .progress-card {
    .overall-progress {
      margin-bottom: 24px;

      .progress-info {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 16px;

        h3 {
          margin: 0;
          font-size: 18px;
          font-weight: 600;
          color: #333;
        }

        .progress-percentage {
          font-size: 24px;
          font-weight: 700;
          color: #1890ff;
        }
      }
    }

    .progress-actions {
      display: flex;
      gap: 12px;
    }
  }

  .recent-courses-card {
    .course-title {
      display: flex;
      align-items: center;
      font-weight: 600;
    }

    .course-meta {
      display: flex;
      gap: 16px;
      margin-top: 8px;
      color: #999;
      font-size: 12px;

      span {
        display: flex;
        align-items: center;
        gap: 4px;
      }
    }
  }

  .achievements-card {
    .achievement-item {
      text-align: center;
      padding: 16px;
      border-radius: 8px;
      background: #f8f9fa;
      transition: all 0.3s;

      &:hover {
        background: #e6f7ff;
        transform: translateY(-2px);
      }

      .achievement-icon {
        width: 48px;
        height: 48px;
        margin: 0 auto 12px;
        background: #1890ff;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        font-size: 24px;
      }

      .achievement-info {
        h4 {
          margin: 0 0 4px;
          font-size: 14px;
          font-weight: 600;
          color: #333;
        }

        p {
          margin: 0;
          font-size: 12px;
          color: #666;
        }
      }
    }
  }
}

// 响应式设计
@media (max-width: 768px) {
  .dashboard-page {
    .dashboard-header {
      h1 {
        font-size: 24px;
      }

      p {
        font-size: 14px;
      }
    }

    .progress-card {
      .progress-actions {
        flex-direction: column;
      }
    }

    .achievements-card {
      .achievement-item {
        padding: 12px;

        .achievement-icon {
          width: 40px;
          height: 40px;
          font-size: 20px;
        }
      }
    }
  }
} 